<template>
  <div class="notFound">
    <el-empty description="404">
      <el-button type="primary" @click="back">返回</el-button>
    </el-empty>
  </div>
</template>

<script>
export default{
  name:'notFound'
}
</script>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();

let back = () => {
  router.back();
};
</script>

<style lang="scss" scoped>
.notFound {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  height: 100%;
}
</style>
